home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / src / Makefile.BeOS < prev    next >
Encoding:
Makefile  |  1997-02-03  |  2.1 KB  |  85 lines

  1. # Makefile for BeOS contributed by Tinic Uro <5uro@informatik.uni-hamburg.de>
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  2.2
  5. # Copyright (C) 1995-1997  Brian Paul
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Id: Makefile.BeOS,v 1.1 1997/02/03 19:53:21 brianp Exp $
  23.  
  24. # $Log: Makefile.BeOS,v $
  25. # Revision 1.1  1997/02/03 19:53:21  brianp
  26. # Initial revision
  27. #
  28.  
  29.  
  30.  
  31. ##### MACROS #####
  32.  
  33. VPATH = RCS
  34.  
  35. INCDIR = ../include
  36. LIBDIR = ../lib
  37.  
  38. CORE_SOURCES = accum.c alpha.c alphabuf.c api.c attrib.c bitmap.c \
  39.     blend.c bresenhm.c clip.c context.c copypix.c depth.c \
  40.     dlist.c draw.c drawpix.c enable.c eval.c feedback.c fog.c  \
  41.     get.c interp.c image.c light.c lines.c logic.c \
  42.     masking.c matrix.c misc.c pb.c pixel.c points.c pointers.c  \
  43.     polygon.c readpix.c scissor.c span.c stencil.c teximage.c \
  44.     texobj.c texture.c triangle.c varray.c vb.c vertex.c winpos.c \
  45.     xform.c
  46.  
  47. DRIVER_SOURCES = osmesa.c
  48.  
  49.  
  50. OBJECTS = $(CORE_SOURCES:.c=.o) $(DRIVER_SOURCES:.c=.o)
  51.  
  52.  
  53. ##### RULES #####
  54.  
  55. .c.o:
  56.     $(CC) -c -I$(INCDIR) $(CFLAGS) $<
  57.  
  58.  
  59. ##### TARGETS #####
  60.  
  61. default:
  62.     @echo "Specify a target configuration"
  63.  
  64. clean:
  65.     -rm *.o *~
  66.  
  67. targets: $(LIBDIR)/$(GL_LIB)
  68.  
  69. # Make the library
  70. $(LIBDIR)/$(GL_LIB): $(OBJECTS)
  71. #    $(MAKELIB) $(AUX_LIB) $(OBJECTS)
  72. #    $(RANLIB) $(GL_LIB)
  73. #    mv $(GL_LIB)* $(LIBDIR)
  74.  
  75. include ../Make-config
  76.  
  77. include depend
  78.  
  79. #
  80. # Run 'make depend' to update the dependencies if you change what's included
  81. # by any source file.
  82. #
  83. dep: $(CORE_SOURCES) $(DRIVER_SOURCES)
  84.     makedepend -fdepend.BeOS -Y -I../include $(SOURCES)
  85.